package com.artfii.fluentsql.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@ComponentScan({"com.artfii"})
@EnableTransactionManagement
public class SpringStart {

    /**
     * VM OPTIONS 加参数： -Dspring.profiles.active=dev
     * @param args
     * @throws InterruptedException
     */
    public static void main(String[] args) throws InterruptedException {
        SpringApplication.run(SpringStart.class, args);
    }

 }